package com.mdp.behavioral.mediator;

public class ConcreteMediator extends Mediator {
    
    public ConcreteMediator(EachOther each, EachOther other) {
        super(each, other);
    }
    
    @Override
    public void otherAction(String value) {
        other.exchange(value);
    }
    
    @Override
    public void eachAction(String value) {
        each.exchange(value);
    }
    
}
